26e99ab782bb1776377aa38069465dbd55c5d829,src/org/boofcv/android/MosaicDisplayActivity.java,PointProcessing,process,#ImageUInt8#,137
Before Change
if( !resetRequested && alg.process(gray) ) {
ImageUInt8 stitched = alg.getStitchedImage();
ConvertBitmap.grayToBitmap(stitched,bitmap,storage);
alg.getImageCorners(gray.width,gray.height,corners);
boolean inside = true;
After Change
if( !resetRequested && alg.process(gray) ) {
ImageUInt8 stitched = alg.getStitchedImage();
synchronized ( lockGui ) {
ConvertBitmap.grayToBitmap(stitched,bitmap,storage);
ImageMotion2D<?,?> motion = alg.getMotion();
if( showFeatures && (motion instanceof AccessPointTracks) ) {
AccessPointTracks access = (AccessPointTracks)motion;
alg.getWorldToCurr(imageToDistorted);
imageToDistorted.invert(distortedToImage);
inliersGui.reset();outliersGui.reset();
List<Point2D_F64> points = access.getAllTracks();
for( int i = 0; i < points.size(); i++ ) {
HomographyPointOps_F64.transform(distortedToImage,points.get(i),distPt);
if( access.isInlier(i) ) {
inliersGui.grow().set(distPt.x,distPt.y);
} else {
outliersGui.grow().set(distPt.x,distPt.y);
}
}
}